package pack0628;

public class Teacher extends Person{
    @Override
    public void sing() {
        System.out.println("aaaaaaaaaaaaaaaa");
    }

    public void say(/*final*/ int a ){
        a = 100 ;
    }

    public static void main(String[] args) {
//        Person p = new Teacher() ;
//
//        p.name = "郭靖" ;
//        p.sing();
//        System.out.println(p.name);

        /*final*/ int a = 10 ;
        a = 20 ;

        Person p = new Person() ;
        System.out.println(p.name);

        p.print(p);

        System.out.println(p.name);
    }
}
